<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>

<body>

  <div id="app">
    <img v-bind:src="imgURL" alt="img">
    <a v-bind:href="aHref">百度一下</a>

    <!-- 语法糖写法 -->
    <img :src="imgURL" alt="img">
    <a :href="aHref">百度一下</a>
  </div>

  <script src="../js/vue.js"></script>
  <script>
    const app = new Vue({
      el: '#app',
      data: {
        message: 'Hello',
        imgURL: 'https://img13.360buyimg.com/babel/s590x470_jfs/t1/202495/18/6526/138624/614151a1Eef65f6a3/a1d750957a212484.jpg.webp',
        aHref: 'https://www.baidu.com'
      }
    })
  </script>
</body>

</html>